﻿<script>
    //在頁面中定義一個數組 editors，插入
    $(function () {
        KindEditor.ready(function (K) {
            if (editors != undefined)
                for (var i = 0; i < editors.length; i++) {
                    K.create('#' + editors[i], {
                        uploadJson: '',
                        fullscreenShortcut: false,
                        langType: "zh_TW",
                        allowFileManager: false,
                        keydown: function () {
                            this.sync();
                        },
                        afterBlur: function () {
                            this.sync();
                        }
                    });
                }
        });
    });
</script>